package com.wy17113.model.dao;

import java.sql.SQLException;
import java.util.List;

import com.wy17113.model.entity.ScoreRecord;

public interface IScoreRecordDao {
	public String getUserIdByAccount(String account);
	public int getSumScoreByState(int state,String id);
	
	public List<ScoreRecord> getAllScoreRecord(String uid,int scoreType,int state,String startTime,String endTime, int start, int count);
	public int getAllScoreRecordCounts(String uid,int scoreType,int state,String startTime,String endTime);

	public void updateScoreecordState(int state,String srId) throws SQLException;
}
